'''
Created on Mar 31, 2011

@author: leo
'''

class Config():
    def __init__(self, root):
        self.google_cloudprint_service_root = root;
        
    def google_search_printers_url(self):
        return self.google_cloudprint_service_root+'search'
    
    def google_get_printer_info_url(self, printerid):
        return self.google_cloudprint_service_root+'printer?%s=%s' % ('printerid', printerid)
    
    def google_submit_print_job_url(self):
        return self.google_cloudprint_service_root+'submit'